/***********************************************************************
 * Module:  VideoMonitorRecordController.java
 * Author:  Administrator
 * Purpose: Defines the Class VideoMonitorRecordController
 ***********************************************************************/

package ishitong.vehicleTrafficManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid f4893b80-11c4-4974-8545-cfedcc315345 */
@Controller
public class VideoMonitorRecordController extends ishitong.common.controller.ActionController {
   /** @pdOid 0f98629c-2385-4170-ac4b-b276565e122c */
   private static final String VMR_SCH = "/vehicleTrafficManagement/videoMonitorRecord/videoMonitorRecordSearch";
   /** @pdOid 09aebb71-fe30-460c-8493-1c8ad659be15 */
   private static final String VMR_SCH_LST = "/vehicleTrafficManagement/videoMonitorRecord/videoMonitorRecordSearchList";
   /** @pdOid d754f068-ce06-426a-9adf-1c0c08ef3801 */
   private static final String VMR_VIW = "/vehicleTrafficManagement/videoMonitorRecord/videoMonitorRecordView";
   
   /** 查询监控视频记录页面初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 4aceb850-d504-4086-a1de-dcc4e693c9e5 */
   @RequestMapping(value = "/showVideoMonitorRecordSearch.do")
   public ModelAndView handleShowVideoMonitorRecordSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(VMR_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询监控视频记录
    * 
    * @param request
    * @pdOid c323e7e7-7706-41a8-bf4b-ebdefaa2c861 */
   @RequestMapping(value = "/ajaxVideoMonitorRecordSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindVideoMonitorRecordSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(VMR_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查看监控视频记录页面初始化
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 04e52b69-2152-4783-9800-a5bc1f4a1890 */
   @RequestMapping(value = "/ajaxShowVideoMonitorRecordView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowVideoMonitorRecordView(HttpServletRequest request, HttpServletResponse response, String videoMonitorRecordId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(VMR_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 删除监控视频记录
    * 
    * @param request 
    * @param videoMonitorRecordIds 
    * @param response
    * @exception Exception
    * @pdOid bc65a904-78b7-462d-94fc-3f89c2061e26 */
   @RequestMapping(value = "/ajaxDeleteVideoMonitorRecordByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteVideoMonitorRecordByIds(HttpServletRequest request, String videoMonitorRecordIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 抓拍监控视频记录
    * 
    * @param request 
    * @param videoMonitorRecord 
    * @param response
    * @exception Exception
    * @pdOid d25c33d5-f340-4c53-a3ea-c21676ba200e */
   @RequestMapping(value = "/ajaxCaptureVideoMonitorRecord.do", method = RequestMethod.POST)
   public void handleAjaxCaptureVideoMonitorRecord(HttpServletRequest request, String videoMonitorRecordId, String imageStr, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}